/** When your routing table is too long, you can split it into small modules **/

import Layout from '../../layout'

const warehouseRouter = {
  path: '/warehouse',
  component: Layout,
  redirect: '/warehouse/manage',
  name: 'Warehouse',
  alwaysShow: true,
  meta: {
    title: '库房管理',
    icon: 'kfgl',
    roles: ['superSysOpsAdmin', 'entAdmin', 'proAdmin', 'formalEmployee']
  },
  children: [
    {
      path: 'warehouseMange',
      component: () => import('@/pages/enterprise/views/warehouseMange/index.vue'),
      name: 'WarehouseMange',
      meta: { title: '库房管理', roles: ['superSysOpsAdmin', 'entAdmin', 'proAdmin', 'formalEmployee'], noCache: true }
    }
  ]
}
export default warehouseRouter
